package com.sykj.qiaoli.controller;

import com.sykj.qiaoli.bean.casea.CaseSettle;
import com.sykj.qiaoli.service.CaseSettleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @program: lawfirm
 * @description: 结案申请
 * @author: qiaoli
 * @create: 2020-05-15 11:19
 */
@RestController
@RequestMapping("/CaseSettle")
public class CaseSettleController {
    @Autowired
    CaseSettleService caseSettleService;
    /**
     * 功能描述: 查询收案申请信息；
     * @Param: [caseSettle]
     * @Return: java.util.List<com.sykj.qiaoli.bean.casea.CaseSettle>
     * @Author: Feiwo Sicun
     * @Date: 2020/5/15 11:22
     */
    @RequestMapping("/queryAll")//
    public List<CaseSettle> queryAll(CaseSettle caseSettle){
      return   caseSettleService.queryAll(caseSettle);
    }
}
